home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 April / macformat-023.iso / Shareware City / Developers / RLaB / help / tic < prev    next >
Encoding:
Text File  |  1994-02-21  |  352 b   |  21 lines  |  [TEXT/RLAB]

  1. tic:
  2.  
  3. Syntax:    tic ( )
  4.  
  5. Description:
  6.  
  7.     Tic internally marks the time at which it was invoked. To
  8.     measure elapsed time, use tic() in conjunction with toc().
  9.  
  10.     Example:
  11.  
  12.     tic();
  13.     a = rand(100,100);
  14.     eig(a);
  15.     toc()
  16.  
  17.     The above would measure the time spent generating the 100x100
  18.     random matrix, and calculating the eigenvectors and values.
  19.  
  20. See Also: toc
  21.